FROM tiangolo/uwsgi-nginx:python3.6

ADD ./all.tar /app

RUN set -x\
    && cd /app\
    && pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple\
    && cp nginx.conf /etc/nginx/conf.d/ -f

